package com.baseweb.webadmin.core.model.pojo;

import java.util.List;

public class Resc {
    //判断是否已经拥有权限
    private Integer userresc = 0;

    private List<Resc> rescList;

    public List<Resc> getRescList() {
        return rescList;
    }

    public void setRescList(List<Resc> rescList) {
        this.rescList = rescList;
    }

    public Integer getUserresc() {
        return userresc;
    }

    public void setUserresc(Integer userresc) {
        this.userresc = userresc;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column resc.id
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    private Integer id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column resc.name
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    private String name;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column resc.show_url
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    private String showUrl;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column resc.res_string
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    private String resString;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column resc.priority
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    private Integer priority;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column resc.descn
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    private String descn;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column resc.father_id
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    private Integer fatherId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column resc.show_menu
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    private Integer showMenu;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resc.id
     *
     * @return the value of resc.id
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resc.id
     *
     * @param id the value for resc.id
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resc.name
     *
     * @return the value of resc.name
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resc.name
     *
     * @param name the value for resc.name
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resc.show_url
     *
     * @return the value of resc.show_url
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public String getShowUrl() {
        return showUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resc.show_url
     *
     * @param showUrl the value for resc.show_url
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public void setShowUrl(String showUrl) {
        this.showUrl = showUrl == null ? null : showUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resc.res_string
     *
     * @return the value of resc.res_string
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public String getResString() {
        return resString;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resc.res_string
     *
     * @param resString the value for resc.res_string
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public void setResString(String resString) {
        this.resString = resString == null ? null : resString.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resc.priority
     *
     * @return the value of resc.priority
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public Integer getPriority() {
        return priority;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resc.priority
     *
     * @param priority the value for resc.priority
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resc.descn
     *
     * @return the value of resc.descn
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public String getDescn() {
        return descn;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resc.descn
     *
     * @param descn the value for resc.descn
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public void setDescn(String descn) {
        this.descn = descn == null ? null : descn.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resc.father_id
     *
     * @return the value of resc.father_id
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public Integer getFatherId() {
        return fatherId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resc.father_id
     *
     * @param fatherId the value for resc.father_id
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public void setFatherId(Integer fatherId) {
        this.fatherId = fatherId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resc.show_menu
     *
     * @return the value of resc.show_menu
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public Integer getShowMenu() {
        return showMenu;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resc.show_menu
     *
     * @param showMenu the value for resc.show_menu
     *
     * @mbggenerated Wed Dec 04 10:21:15 CST 2013
     */
    public void setShowMenu(Integer showMenu) {
        this.showMenu = showMenu;
    }
}